﻿using Newtonsoft.Json.Linq;

namespace Bilibili.Model.Comment
{
    public sealed class CommentContent
    {
        public string Message { get; set; }
        public int Plat { get; set; }
        public string PlatStr
        {
            get
            {
                switch (Plat)
                {
                    case 2:
                        return "来自 Android";
                    case 3:
                        return "来自 IOS";
                    case 4:
                        return "来自 WindowsPhone";
                    case 6:
                        return "来自 Windows";
                    default:
                        return string.Empty;
                }
            }
        }
        public string Device { get; set; }
        public JObject Emote { get; set; }
    }
}